<!-- templates/register.html -->
<!DOCTYPE html>
<html>
<head>
  <title>用户注册</title>
</head>
<body>
  <h2>注册新用户</h2>
  <form action="{{ url_for('auth.register') }}" method="post">
    <p><input type="text" name="username" placeholder="用户名" required></p>
    <p><input type="password" name="password" placeholder="密码" required></p>
    <button type="submit">注册</button>
  </form>
  <p>已有账户？<a href="{{ url_for('auth.login') }}">登录</a></p>
</body>
</html>
